package com.tchy.cloud.entity;

import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;

import static javax.persistence.GenerationType.IDENTITY;

/**
 * Created by xiaoji on 2017/2/20.
 */
@Entity
@Table(name = "a_withdrawal", schema = "", catalog = "")
public class AWithdrawalEntity {
    private Long withdrawalId;
    private Long customerId;
    private BigDecimal money;
    private Date resiterTime;
    private Byte resiterStatus;
    private Byte type;
    private String auditor;
    private Date auditTime;
    private String withRemark;

    @Id
    @GeneratedValue(strategy = IDENTITY)
    @Column(name = "withdrawal_id")
    public Long getWithdrawalId() {
        return withdrawalId;
    }

    public void setWithdrawalId(Long withdrawalId) {
        this.withdrawalId = withdrawalId;
    }

    @Basic
    @Column(name = "customer_id")
    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    @Basic
    @Column(name = "money")
    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    @Basic
    @Column(name = "resiter_time")
    public Date getResiterTime() {
        return resiterTime;
    }

    public void setResiterTime(Date resiterTime) {
        this.resiterTime = resiterTime;
    }

    @Basic
    @Column(name = "resiter_status")
    public Byte getResiterStatus() {
        return resiterStatus;
    }

    public void setResiterStatus(Byte resiterStatus) {
        this.resiterStatus = resiterStatus;
    }

    @Basic
    @Column(name = "type")
    public Byte getType() {
        return type;
    }

    public void setType(Byte type) {
        this.type = type;
    }

    @Basic
    @Column(name = "auditor")
    public String getAuditor() {
        return auditor;
    }

    public void setAuditor(String auditor) {
        this.auditor = auditor;
    }

    @Basic
    @Column(name = "audit_time")
    public Date getAuditTime() {
        return auditTime;
    }

    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    @Basic
    @Column(name = "with_remark")
    public String getWithRemark() {
        return withRemark;
    }

    public void setWithRemark(String withRemark) {
        this.withRemark = withRemark;
    }

}
